/****************************************************************************
** CRQRobotInfo meta object code from reading C++ file 'crqrobotinfo.h'
**
** Created: Sun Mar 23 17:30:21 2008
**      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.3.7   edited Oct 19 16:22 $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef QT_NO_COMPAT
#include "crqrobotinfo.h"
#include <qmetaobject.h>
#include <qapplication.h>

#include <private/qucomextra_p.h>
#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
#error "This file was generated using the moc from 3.3.7. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

const char *CRQRobotInfo::className() const
{
    return "CRQRobotInfo";
}

QMetaObject *CRQRobotInfo::metaObj = 0;
static QMetaObjectCleanUp cleanUp_CRQRobotInfo( "CRQRobotInfo", &CRQRobotInfo::staticMetaObject );

#ifndef QT_NO_TRANSLATION
QString CRQRobotInfo::tr( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "CRQRobotInfo", s, c, QApplication::DefaultCodec );
    else
	return QString::fromLatin1( s );
}
#ifndef QT_NO_TRANSLATION_UTF8
QString CRQRobotInfo::trUtf8( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "CRQRobotInfo", s, c, QApplication::UnicodeUTF8 );
    else
	return QString::fromUtf8( s );
}
#endif // QT_NO_TRANSLATION_UTF8

#endif // QT_NO_TRANSLATION

QMetaObject* CRQRobotInfo::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = QWidget::staticMetaObject();
    static const QUParameter param_signal_0[] = {
	{ 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod signal_0 = {"score", 1, param_signal_0 };
    static const QUParameter param_signal_1[] = {
	{ 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod signal_1 = {"returnTime", 1, param_signal_1 };
    static const QUParameter param_signal_2[] = {
	{ 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod signal_2 = {"collisions", 1, param_signal_2 };
    static const QUParameter param_signal_3[] = {
	{ 0, &static_QUType_varptr, "\x06", QUParameter::In }
    };
    static const QUMethod signal_3 = {"state", 1, param_signal_3 };
    static const QUParameter param_signal_4[] = {
	{ 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod signal_4 = {"time", 1, param_signal_4 };
    static const QMetaData signal_tbl[] = {
	{ "score(int)", &signal_0, QMetaData::Public },
	{ "returnTime(int)", &signal_1, QMetaData::Public },
	{ "collisions(int)", &signal_2, QMetaData::Public },
	{ "state(const QPixmap&)", &signal_3, QMetaData::Public },
	{ "time(int)", &signal_4, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
	"CRQRobotInfo", parentObject,
	0, 0,
	signal_tbl, 5,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_CRQRobotInfo.setMetaObject( metaObj );
    return metaObj;
}

void* CRQRobotInfo::qt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "CRQRobotInfo" ) )
	return this;
    return QWidget::qt_cast( clname );
}

// SIGNAL score
void CRQRobotInfo::score( int t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 0, t0 );
}

// SIGNAL returnTime
void CRQRobotInfo::returnTime( int t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 1, t0 );
}

// SIGNAL collisions
void CRQRobotInfo::collisions( int t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 2, t0 );
}

#include <qobjectdefs.h>
#include <qsignalslotimp.h>

// SIGNAL state
void CRQRobotInfo::state( const QPixmap& t0 )
{
    if ( signalsBlocked() )
	return;
    QConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 3 );
    if ( !clist )
	return;
    QUObject o[2];
    static_QUType_varptr.set(o+1,&t0);
    activate_signal( clist, o );
}

// SIGNAL time
void CRQRobotInfo::time( int t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 4, t0 );
}

bool CRQRobotInfo::qt_invoke( int _id, QUObject* _o )
{
    return QWidget::qt_invoke(_id,_o);
}

bool CRQRobotInfo::qt_emit( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: score((int)static_QUType_int.get(_o+1)); break;
    case 1: returnTime((int)static_QUType_int.get(_o+1)); break;
    case 2: collisions((int)static_QUType_int.get(_o+1)); break;
    case 3: state((const QPixmap&)*((const QPixmap*)static_QUType_ptr.get(_o+1))); break;
    case 4: time((int)static_QUType_int.get(_o+1)); break;
    default:
	return QWidget::qt_emit(_id,_o);
    }
    return TRUE;
}
#ifndef QT_NO_PROPERTIES

bool CRQRobotInfo::qt_property( int id, int f, QVariant* v)
{
    return QWidget::qt_property( id, f, v);
}

bool CRQRobotInfo::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
#endif // QT_NO_PROPERTIES
